﻿using RuoVea.ExSugar.Entity;
using SqlSugar;
using System.ComponentModel.DataAnnotations;

namespace RuoVea.H5DS.Models;

/// <summary>
/// H5Template
/// </summary>
[SugarTable(nameof(H5ServerInfo), "H5ServerInfo")]
public class H5ServerInfo : EntityBase
{
    /// <summary>
    /// 代码
    /// </summary>
    [Required, MaxLength(50)]
    [SugarColumn(ColumnDescription = "代码")]
    public string Code { get; set; }

    /// <summary>
    /// 内容
    /// </summary>
    [MaxLength(100)]
    [SugarColumn(ColumnDescription = "内容", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
    public string Content { get; set; }
}
